package com.lc.zpyh.http.request;

import com.hjq.http.config.IRequestApi;

public class SearchCommodityApi implements IRequestApi {
    private String schoolId;
    private String commodityName;
    private String       	pageNum;
    private String       	pageSize;
    private String       	status;
    private String      	canteenId;

    public SearchCommodityApi setSchoolId(String schoolId) {
        this.schoolId = schoolId;
        return this;
    }

    public SearchCommodityApi setCommodityName(String commodityName) {
        this.commodityName = commodityName;
        return this;
    }

    public SearchCommodityApi setPageNum(String pageNum) {
        this.pageNum = pageNum;
        return this;
    }

    public SearchCommodityApi setPageSize(String pageSize) {
        this.pageSize = pageSize;
        return this;
    }

    public SearchCommodityApi setStatus(String status) {
        this.status = status;
        return this;
    }

    public SearchCommodityApi setCanteenId(String canteenId) {
        this.canteenId = canteenId;
        return this;
    }

    @Override
    public String getApi() {
        return "app/commodity/searchCommodity";
    }
}
